package cn.wen.mybatis.framework.scripting.xmltags;

/**
 * 静态文本 Sql脚本 存储静态语句脚本
 */
public class StaticTextSqlNode implements SqlNode {
  private final String text;

  public StaticTextSqlNode(String text) {
    this.text = text;
  }

  @Override
  public boolean apply(DynamicContext context) {
    context.appendSql(text);
    return true;
  }

}